package com.j283_5.wisdom_park.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.j283_5.wisdom_park.common.result.ResultData;
import com.j283_5.wisdom_park.pojo.Project;
import com.j283_5.wisdom_park.pojo.Roleinfo;
import com.j283_5.wisdom_park.vo.confcenter_management.RoleinfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public interface RoleinfoService extends IService<Roleinfo> {

    /**
     * 根据条件进行角色的分页查询
     * @param
     * @return
     */
    ResultData getRolePage(Page<Roleinfo> page,String roName);

    /**
     * 添加角色信息
     * @param roleinfoVo
     * @return
     */
    ResultData addRoleInfo(RoleinfoVo roleinfoVo);

    /**
     * 删除角色信息
     * @param roIdlist
     * @return
     */
    ResultData deleteRoleInfo(ArrayList<Integer> roIdlist);

    /**
     * 修改角色信息
     * @param roleinfo
     * @return
     */
    ResultData updateRoleInfo(Roleinfo roleinfo);
}
